package org.spring.blog.utils;

public interface LRConstants {

    int DEFAULT_SIZE = 30;

    long db_default_order_value = 1L;
    String db_publish_status = "1";
    String db_ban_status = "0";
    String db_top_status = "3";

    int list_default_page_num = 1;
    int list_min_page_size = 5;

    String redis_user_commit_flag = "redis_user_commit_flag_key";

    interface settings {
        String DEFAULT_STATE = "1";
        String MANAGER_ACCOUNT_INIT = "manager_account_init_state";
    }


    interface TimeValue {
        int min_s = 60;
        int hour_s = 60 * min_s;
        int day_s = 24 * hour_s;
        int week_s = 7 * day_s;
        int moon_s = 30 * day_s;
        int year_s = 365 * day_s;


        long min_ms = (60 * 1000);
        long hour_ms = 60L * min_ms;
        long day_ms = 24L * hour_ms;
        long week_ms = 7L * day_ms;
        long moon_ms = 30L * day_ms;
        long year_ms = 365L * day_ms;
    }
}
